package com.sebastian.studies.ch10_10_3;

import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JPanel;

public class CustomClass extends JFrame {
	public CustomClass() {
		JButton btnOK = new JButton("OK");
		JPanel panel = new JPanel();
		panel.add(btnOK);
		add(panel);
		setTitle("Custom Frame");
		setLocation(450, 550);
		setSize(340, 140);
		setVisible(true);

	}
}
